package com.jackchen.service;

import java.util.Map;

import com.jackchen.po.Content;
import com.jackchen.po.Resourcetype;
import com.jackchen.po.User;
import com.jackchen.vo.DiaryVO;

public interface ResourceService extends IBaseService {

	Map queryDiaryOnPage(String userName, String startTime, String endTime,
			int pageSize, int startRow);
	
	boolean createNewDiary(String name, String author, String conent);

	DiaryVO queryDiaryById(String diaryId);

	boolean updateDiary(String diaryid, String username, String realname,
			String content, int languageFlag);

}
